Skip to content

ci(release): attach both x64 and ARM64 installers#31

Merged
oahsiao merged 1 commit into
mainfrom
ci/release-both-arch
Jun 24, 2026
Merged

ci(release): attach both x64 and ARM64 installers#31
oahsiao merged 1 commit into
mainfrom
ci/release-both-arch

Conversation

@oahsiao

@oahsiao oahsiao commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #30. That PR added the ARM64 build target but was merged before this CI fix landed, so the release workflow still publishes only one installer.

The release.yml publish step picked just the first .exe in dist/ (and its old *Setup* filter no longer matches the new per-arch artifactName), so a tagged release would attach only one architecture -- and the wrong one (arm64 sorts first), with release notes hard-coded to "x64".

Changes

  • .github/workflows/release.yml
    • Publish step now uploads all NSIS installers in dist/ (both x64 and ARM64)
    • Removed the stale *Setup* filter (artifacts are now M2_LOG-<version>-<arch>.exe)
    • Logs each attached installer for traceability
    • Release notes updated from "x64 installer" to "x64 + ARM64"
    • Header comment updated to reflect dual-arch output

Why a separate PR

The fix was pushed to the #30 branch after it had already been merged, so it never reached main. This PR brings it in cleanly off the latest main.

Effect

After merge, pushing a v* tag builds and attaches both M2_LOG-<version>-x64.exe and M2_LOG-<version>-arm64.exe to the GitHub Release.

The publish step picked only the first .exe (and the old *Setup* filter no longer matches the per-arch artifactName), so a release would attach just one architecture. Now uploads all NSIS installers in dist/ and fixes the x64-only release notes wording.
@oahsiao oahsiao merged commit a7f47df into main Jun 24, 2026
5 checks passed
@oahsiao oahsiao deleted the ci/release-both-arch branch June 24, 2026 10:06
@oahsiao oahsiao mentioned this pull request Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant